package com.yjd.comm.util;

import com.yjd.comm.vo.Constant;

/**
 * Created by yjd-wap on 2017/7/10.
 */
public class StagesRateUtils {

    public static Constant.SysParamKeyEnum getSysParamKeyEnum(int limit) throws Exception {
        Constant.SysParamKeyEnum sysParamKeyEnum = null;
        sysParamKeyEnum = limit == 3 ? Constant.SysParamKeyEnum.CREDITOR_AVCBASE_APR_3 : limit == 6 ? Constant.SysParamKeyEnum.CREDITOR_AVCBASE_APR_6 : limit == 9 ?
                Constant.SysParamKeyEnum.CREDITOR_AVCBASE_APR_9 : limit == 12 ? Constant.SysParamKeyEnum.CREDITOR_AVCBASE_APR_12 : null;
        return sysParamKeyEnum;
    }
}
